Page({
  data: {
    products: [
      {
        id: 1,
        name: 'Apple【20W充电套装】iPhone 15 手机 粉色 256GB',
        price: 7148,
        image: "https://img12.360buyimg.com/n7/jfs/t1/221169/30/37286/75179/66b325f6F338ea12a/f0bfe4d416ebf30a.jpg.avif",
        produce:'69条评价 100%好评',
        produce1:'Apple授权专营店居家运通 进店》',
        url: "/packageD/fl11/fl115"
      },
      {
        id: 2,
        name: 'Apple/苹果【24期0元购机)iPhone15promax ',
        price: 7649,
        image: "https://img10.360buyimg.com/n7/jfs/t1/7216/31/23397/68565/669b39c3F0f8c87a7/b9707fbf47c1131d.jpg.avif",
        produce:'2000+条评价   27万+人种草',
        produce1:'航正3C数码买手店   进店》',
        url: "/packageD/fl11/fl116"
      },
      {
        id: 3,
        name: 'Apple【24期免息】苹果iPhone15promax',
        price: 5209,
        image: "https://img11.360buyimg.com/n7/jfs/t1/10791/1/25449/56683/66c32968F6c8dce48/05cbbd161d61214f.jpg.avif",
        produce:'200+条评价   15天加购飙升5倍',
        produce1:'锦新数码买手店   进店》',
        url: "/packageD/fl11/fl117"
      },
      {
        id: 4,
        name: 'Apple/苹果 iPhone 15 Pro  128GB 蓝色钛金属 ',
        price: 6599,
        image: "https://img14.360buyimg.com/n1/s450x450_jfs/t1/238830/3/14307/47722/66b9b39dF5aebe969/f925246cf4c92f61.png.avif",
        produce:'200万+条评价 30天加购飙升5倍',
        produce1:'Apple产品自营旗舰店 进店》',
        url: "/packageD/fl11/fl118"
      },
      {
        id: 5,
        name: 'Apple/苹果 iPhone 14 (A2884) 128GB 星光色 ',
        price: 4698,
        image: "https://img13.360buyimg.com/n1/s450x450_jfs/t1/66355/26/27768/27736/66b9ab53F7fc1395e/6295e95cafb69e17.png.avif",
        produce:'200+条评价 20万+人种草',
        produce1:'欧加官方旗舰店 进店》',
        url: "/packageD/fl11/fl119"
      }
      // 可以继续添加更多商品
    ]
  },
  onProductClick: function (event) {
    const url = event.currentTarget.dataset.url;
    wx.navigateTo({
      url: url
    });
  }
});



